
package com.bei_en.teacher.admin.persistence.dao.users;

import java.util.List;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import com.bei_en.teacher.admin.model.users.bean.Users;
import com.bei_en.teacher.admin.model.users.condition.UsersCondition;
import com.bei_en.teacher.admin.persistence.BaseDao;

/**
 * 账户
 * @author Guocg
 * @date 2016-7-26 22:44:04
 */
@Repository
public interface UsersDao extends BaseDao<Users, Integer> {

    Integer findNumberByCondition(UsersCondition vo);

    List<Users> findPageBreakByCondition(UsersCondition vo, RowBounds rb);

    /**
     * 返回上次插入的id，用于merge
     * @return
     */
    Integer findLastInsertedId();
}
